﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsReader.Helpers.Orm
{
    [Table("feeds")]
    public class Feed
    {
        [PrimaryKey, AutoIncrement, Column("id")]
        public int Id { get; set; }

        [Column("uri")]
        public string Uri { get; set; }

        [Column("title")]
        public string Title { get; set; }

        [Column("image_uri")]
        public string ImageUri { get; set; }

        [Column("last_updated")]
        public DateTime LastUpdated { get; set; }
    }
}
